package com.think.teaching.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 视频课程组件
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public class Component extends BaseModel<Component> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 组件名
     */
    private String compName;

    /**
     * 组件描述
     */
    private String description;

    /**
     * 安卓
     */
    private String android;

    /**
     * iOS
     */
    private String ios;

    /**
     * PC
     */
    private String pc;

    /**
     * VR
     */
    private String vr;

    /**
     * 创建人
     */
    private Integer createdBy;

    

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAndroid() {
        return android;
    }

    public void setAndroid(String android) {
        this.android = android;
    }

    public String getIos() {
        return ios;
    }

    public void setIos(String ios) {
        this.ios = ios;
    }

    public String getPc() {
        return pc;
    }

    public void setPc(String pc) {
        this.pc = pc;
    }

    public String getVr() {
        return vr;
    }

    public void setVr(String vr) {
        this.vr = vr;
    }

   

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Component{" +
        "id=" + id +
        ", compName=" + compName +
        ", description=" + description +
        ", android=" + android +
        ", ios=" + ios +
        ", pc=" + pc +
        ", vr=" + vr +
        ", createdBy=" + createdBy +
        ", createdTime=" + createdTime +
        ", updatedBy=" + updatedBy +
        ", updatedTime=" + updatedTime +
        ", state=" + state +
        ", delflag=" + delflag +
        "}";
    }
}
